<h1>Ktd actions List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Adventure</th>
      <th>Character</th>
      <th>Edition number</th>
      <th>Title</th>
      <th>Body</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($ktd_actions as $ktd_action): ?>
    <tr>
      <td><a href="<?php echo url_for('action/edit?id='.$ktd_action->getId()) ?>"><?php echo $ktd_action->getId() ?></a></td>
      <td><?php echo $ktd_action->getAdventureId() ?></td>
      <td><?php echo $ktd_action->getCharacterId() ?></td>
      <td><?php echo $ktd_action->getEditionNumber() ?></td>
      <td><?php echo $ktd_action->getTitle() ?></td>
      <td><?php echo $ktd_action->getBody() ?></td>
      <td><?php echo $ktd_action->getCreatedAt() ?></td>
      <td><?php echo $ktd_action->getUpdatedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('action/new') ?>">New</a>
